package com.cleaningcloud.erp.domain.vo;

import com.cleaningcloud.erp.domain.ErpCommodityUnit;
import com.cleaningcloud.erp.domain.ErpWarehousingDetails;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class ErpWarehousingDetailsVo extends ErpWarehousingDetails {

    //供应商商品id
    private Long supplierCommodityId;
    // 商品库存id
    private Long commodityId;
    // 商品名称
    private String supplierCommodityName;
    // 商品编号
    private String supplierCommodityNo;
    // 商品类别
    private String commodityType;
    // 规格
    private String supplierCommoditySpec;
    // 采购单位
    private String supplierCommodityUnit;
    // 商品默认单位id
    private Long commodityUnitId;
    // 单位
    private String unitName1;
    // 单位
    private String unitName2;
    // 单位关系
    private String unitRelationship;
    // 换算关系
    private String unitResult;
    // 单价
    private BigDecimal costPrice;

    private int thisIssue;

    // 商品单位
    private List<ErpCommodityUnit> unitList;
}
